﻿<Window x:Class="CECB.ReportManager_Window"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
         xmlns:my="clr-namespace:SAPBusinessObjects.WPF.Viewer;assembly=SAPBusinessObjects.WPF.Viewer"
        Title="ReportManager_Window" 
         xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit"      
        WindowStartupLocation="CenterScreen"   Background="#AA000000" 
        AllowsTransparency="True" WindowStyle="None" WindowState="Maximized"
        mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"  >
    <Grid HorizontalAlignment="Center">


        <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="40,8,0,0" >
            <TextBlock Height="21" Name="textBlock3" Text="Search Projects" Margin="10,0,0,0" Foreground="White" FontSize="15" />
            <toolkit:AutoCompleteBox Name="ProjectAutocompleteTextBox"  Width="285" Margin="10,0,0,0" Height="30"  ValueMemberPath="proj_reference"  FilterMode="Contains"  ItemsSource="{Binding}"  TabIndex="1" IsTabStop="True"  SelectionChanged="ReferenceTextBox_SelectionChanged" FontSize="18" Background="White" Opacity="1" HorizontalAlignment="Center" UseLayoutRounding="False" BorderBrush="#FFF8F8F8" BorderThickness="2">
                <toolkit:AutoCompleteBox.ItemTemplate>
                    <DataTemplate>
                        <StackPanel Orientation="Horizontal">
                            <TextBlock Text="{Binding Path=proj_reference}"/>
                            <TextBlock Text=" - "/>
                            <TextBlock Text="{Binding Path=proj_name}"/>
                        </StackPanel>
                    </DataTemplate>
                </toolkit:AutoCompleteBox.ItemTemplate>
            </toolkit:AutoCompleteBox>
            <TextBlock Height="21" Name="textsdock3" Text="   Simple Matrix Report"  Margin="100,0,0,0" Foreground="White" FontSize="15" Width="180" />
        </StackPanel>

        <my:CrystalReportsViewer   Name="crystalReportsViewer1"
                                  Height="690" Width="890" Margin="20,45,12,47" ShowLogo="False" />
        <Grid Margin="0,0,0,0" HorizontalAlignment="Right" VerticalAlignment="Top">
            <Image Height="32" Margin="2" Source="/CECB;component/images/closeblack.png"  Width="32" MouseLeftButtonDown="Image_MouseLeftButtonDown" />
        </Grid>
        <Grid.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="Black" Offset="0" />
                <GradientStop Color="#FFA3A1A1" Offset="0.494" />
                <GradientStop Color="#FF272121" Offset="0" />
                <GradientStop Color="#FF272121" Offset="1" />
            </LinearGradientBrush>
        </Grid.Background>
    </Grid>
</Window>
